import Vue from "vue"
import VueRouter from "vue-router"
import OneClass from "@/views/OneClass.vue"
import OneIndex from "@/views/OneIndex.vue"
import Order from "@/views/Order.vue"
import OneMy from "@/views/OneMy.vue"
Vue.use(VueRouter)
const router = new VueRouter({
    routes: [
        { path: '/', redirect: '/index' },
        { path: '/class', component: OneClass },
        { path: '/index', component: OneIndex },
        { path: '/order', component: Order},
        { path: '/my', component: OneMy },
    ]
})
export default router